home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 51
/
Aminet 51 (2002)(GTI - Schatztruhe)[!][Oct 2002].iso
/
Aminet
/
dev
/
c
/
TinyGL.lha
/
tinygl
/
src
/
memory.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2001-01-07
|
269 b
|
22 lines
/*
* Memory allocator for TinyGL
*/
#include "zgl.h"
/* modify these functions so that they suit your needs */
void gl_free(void *p)
{
free(p);
}
void *gl_malloc(int size)
{
return malloc(size);
}
void *gl_zalloc(int size)
{
return calloc(1, size);
}